<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
    <head>
        <title>Boogiewoogie</title>
        <meta name="description" content="Boogiewoogie" />
        <meta name="keywords" content="Boogiewoogie" />
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <link href="<?php echo $this->config->item('cdn_url'); ?>admin/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
        <link href="<?php echo $this->config->item('cdn_url'); ?>admin/css/bootstrap-responsive.min.css" rel="stylesheet" type="text/css" />
        <link href="<?php echo $this->config->item('cdn_url'); ?>admin/css/template.css" rel="stylesheet" type="text/css" />
        
    </head>
    <body>
<div id="login_warp">
		<h1 id="logo">Admin Panel</h1>
        <?php echo $this->session->flashdata('_message'); ?>
        <?php echo form_open('administrator/auth/login',array('id'=>'login_box'));?>
        	<label for="username">Username:</label>
            <input type="text" name="username" id="username" />
            <label for="password">Password:</label>
            <input type="password" name="password" id="password" />
            <div align="right"><input class="btn-primary" type="submit" value="Login"/></div> 
        </form>
  </div></body>
<script type="text/javascript" src="<?php echo $this->config->item('cdn_url'); ?>js/jquery/jquery.js"></script>
<script type="text/javascript" src="<?php echo $this->config->item('cdn_url'); ?>js/jquery/jquery-ui.js"></script>

        <script type="text/javascript">
            var base_url = '<?php echo base_url(); ?>';
            var site_url = '<?php echo site_url(); ?>';
        </script>
<script type="text/javascript" src="<?php echo $this->config->item('cdn_url'); ?>/js/global.js"></script>

        <?php if($this->session->flashdata('_type')=='error'):?>
        <script type="text/javascript">
           $(document).ready(function(){
                $("#login_box").effect("shake");
           })
        </script>
        <?php endif; ?>
</html>